import axios from "axios";

export const login = (params) => {
    return axios({
        url: 'user/login',
        method: 'GET',
        params
    })
}

export const register = (params) => {
    return axios({
        url: 'user/register',
        method: 'PUT',
        params
    })
}

